
cc = g++
exe = vector
obj = main.o vector1.o

.PHONY: clean

clean:
	rm -rf $(obj) $(exe)

$(exe): $(obj)
	$(cc) -o $(exe) $(obj)

main.o: main.cpp
	$(cc) -c main.cpp

vector1.o: vector1.cpp vector1.h
	$(cc) -c vector1.cpp
